5  Pivoting and Joining

5.1 Introduction

This document demonstrates the use of the pandas library in Python to do basic data wrangling and summarization.

Note

If you do not have the pandas library installed then you will need to run

pip install pandas

in the Jupyter terminal to install. Remember: you only need to install once per machine (or Colab session).

5.2 Reading Tabular Data into Python

Practice-exercise

Open up this colab notebook and make a copy.

Fill out the sections where indicated, render it to html with Quarto, and push your final notebook and html document to a repository on GitHub (same one as Practice Activity 1.1 is good). Then share this repository link in the quiz question.